<template>
	<div class="table-container">		
		<div class="table-main">
			<div class="table-header">
				博越SUV 2.0L-6MT智尚版
			</div>

			<div class="table-line">
				<div class="table-cell tc1">指导价108800</div><div 
				class="table-cell tc2">首付</div><div
				class="table-cell tc3">月还</div>
			</div>
			<div class="table-line">
				<div class="table-cell tc1">三年</div><div 
				class="table-cell tc2">11800</div><div 
				class="table-cell tc3">3099</div>
			</div>
			<div class="table-line">
				<div class="table-cell tc1">三年</div><div 
				class="table-cell tc2">21760</div><div 
				class="table-cell tc3">2804</div>
			</div>
			<div class="table-line">
				<div class="table-cell tc1">两年</div><div 
				class="table-cell tc2">21760</div><div 
				class="table-cell tc3">4090</div>
			</div>
		</div>
	</div>
</template>
<script>
	export default {
		name: 'scroll-item',
		props: {
			bg: String,
			default: '',
		},
		computed: {
			bgClass(){
				return this.bg;
			}
		}
	}
</script>

<style lang='scss' scoped>
	p {
		margin: 0;
	}
	.table-container {
		font-size: 24px;
		color: #fff;
		padding-top: 1px;
		.title {
			padding-top: 40px;
			color: #fff;
			font-size: 30px;
		}
		.content {
			padding-top: 40px;
			color: #fff;
			font-size: 24px;
		}
	}

	.table-main {
	    background-color: #000;
	    opacity: .7;

		.table-header {
			border: 1px solid #fff;
			line-height: 1.5;
			margin: auto;
			box-sizing: border-box;
		}
		.table-line {
			margin: auto;
			border-bottom: 1px solid #fff;
			border-right: 1px solid #fff;
			border-left: 1px solid #fff;
			line-height: 1.5;
			box-sizing: border-box;
			font-size: 24px;

			.tc1 {
				width: 40%;
			}
			.tc2 {
				width: 30%;
			}
			.tc3 {
				width: 30%;
			}
			.table-cell {
				display: inline-block;
				border-right: 1px solid #fff;
				box-sizing: border-box;
				color: #fff;
			}
			.table-cell:last-child {
				border-right: none;
			}
		}
	}
</style>